import 'package:flutter_pb_demo/net/pb_function.dart';
import 'package:flutter_pb_demo/proto/gen/advertising.pb.dart';
import 'package:flutter_pb_demo/proto/gen/common.pb.dart';

String _getModuleName() {
  return "advertising.AdvertisingExtObj";
}

// 暂无描述
Future<HttpModel<GetAdvertisingInfoRes>> getAdvertisingInfo(GetAdvertisingInfoReq req) {
  return executeNet(req, GetAdvertisingInfoRes(), _getModuleName(), "GetAdvertisingInfo");
}

// 上传营销页统计信息,包括曝光,点击(客户端)
Future<HttpModel<GetUploadAdvertisingStatRes>> getUploadStat(GetUploadAdvertisingStatReq req) {
  return executeNet(req, GetUploadAdvertisingStatRes(), _getModuleName(), "GetUploadStat");
}
